<?php
class NewType implements IFactory{
	public function getWeapon($weapon){
		switch ($weapon){
			case 'handgun':
				return NewHandgun();
				break;
			case 'sniper':
				return NewSniper();
				break;
		}
	}
}